﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CGT.API.Models.Order
{
    /// <summary>
    /// 订单
    /// </summary>
    public class OrderModel
    {
        ///<summary>
		///业务类型
		///</summary>        
        public int BizTypeID { get; set; }

        ///<summary>
        ///办理城市
        ///</summary>     
        public int CityID { get; set; }

        ///<summary>
        ///姓名
        ///</summary>       
        public string UserName { get; set; }

        ///<summary>
        ///身份证号
        ///</summary>       
        public string IDNum { get; set; }

        ///<summary>
        ///手机号
        ///</summary>      
        public string UserMobile { get; set; }

        ///<summary>
        ///变更前手机
        ///</summary>     
        public string BeforeMobile { get; set; }

        ///<summary>
        ///变更后手机
        ///</summary>
        public string AfterMobile { get; set; }

        ///<summary>
        ///车牌号
        ///</summary>
        public string PlateNo { get; set; }

        ///<summary>
        ///车辆标识代码
        ///</summary>
        public string VIN { get; set; }

        ///<summary>
        ///是否省内
        ///</summary>
        public int IsProvince { get; set; }

        ///<summary>
        ///准驾车型
        ///</summary>
        public string LicenceClass { get; set; }

        ///<summary>
        ///降级后准驾车型
        ///</summary>
        public string LowLicenceClass { get; set; }

        ///<summary>
        ///驾驶证正本照片
        ///</summary>
        public string DrivingLicence { get; set; }

        ///<summary>
        ///驾驶证副本照片
        ///</summary>
        public string DrivingLicenceBack { get; set; }

        ///<summary>
        ///交强险副本原件照片
        ///</summary>
        public string Compulsory { get; set; }

        ///<summary>
        ///原机动车号牌
        ///</summary>
        public string BeforePlateNo { get; set; }

        ///<summary>
        ///原机动车号牌照片
        ///</summary>
        public string AfterPlateNo { get; set; }

        ///<summary>
        ///临时牌照原件正面
        ///</summary>
        public string TemporaryLicence { get; set; }

        ///<summary>
        ///临时牌照反面
        ///</summary>
        public string TemporaryLicenceBack { get; set; }

        ///<summary>
        ///说明描述
        ///</summary>
        public string OrderDesc { get; set; }

        ///<summary>
        ///申请人
        ///</summary>    
        public long UserID { get; set; }

        ///<summary>
		///订单金额
		///</summary>
        public decimal OrderPrice { get; set; }

        ///<summary>
        ///工本费
        ///</summary>
        public decimal CostPrice { get; set; }

        ///<summary>
        ///邮寄费用
        ///</summary>
        public decimal ExpressFee { get; set; }

        ///<summary>
        ///其他费用(费用可以自定义,可能有多个)
        ///</summary>
        public decimal OtherPrice { get; set; }

        ///<summary>
        ///收件地址
        ///</summary>
        public int MailAddressID { get; set; }

        /// <summary>
        /// 快递公司
        /// </summary>
        public int ExpressCompanyID { set; get; }

        /// <summary>
        /// 行驶证正面照片
        /// </summary>
        public string VehicleLicence { set; get; }

        /// <summary>
        /// 行驶证背面照片
        /// </summary>
        public string VehicleLicenceBack { set; get; }

        /// <summary>
        /// 体检医院
        /// </summary>
        public int HospitalID { set; get; }
    }

    /// <summary>
    /// 更新订单
    /// </summary>
    public class UpdOrderModel : OrderModel
    {
        /// <summary>
        /// 订单ID
        /// </summary>
        public long OrderID { set; get; }
    }

    public class OrderDetailModel : OrderModel
    {
        /// <summary>
        /// 体检医院
        /// </summary>
        public string HospitalName { set; get; }

        /// <summary>
        /// 业务类型
        /// </summary>
        public string BizTypeName { set; get; }

        /// <summary>
        /// 订单状态
        /// </summary>
        public string OrderStateTxt { set; get; }

        /// <summary>
        /// 邮寄地址信息
        /// </summary>
        public MailAddressOrderModel MailModel { set; get; }
    }
}